package com.yuebu.yuebubtlib.bean;

import java.io.Serializable;

/**
 * 久坐闹钟提醒
 */
public class SedentaryAlarmBean implements Serializable {
    //开关标志 0关闭1打开
    private int isOpen = 1;
    //开始时间
    private int startHour;
    //结束时间
    private int endHour;
    //检测时间
    private int detectionTime;
    //重复周期 0代表每天重复 1到7代表星期一到星期天
    private int repeatCycle;

    public SedentaryAlarmBean(int isOpen, int startHour, int endHour, int detectionTime, int repeatCycle) {
        this.isOpen = isOpen;
        this.startHour = startHour;
        this.endHour = endHour;
        this.detectionTime = detectionTime;
        this.repeatCycle = repeatCycle;
    }

    public SedentaryAlarmBean() {
    }

    public int getIsOpen() {
        return isOpen;
    }

    public void setIsOpen(int isOpen) {
        this.isOpen = isOpen;
    }

    public int getStartHour() {
        return startHour;
    }

    public void setStartHour(int startHour) {
        this.startHour = startHour;
    }

    public int getEndHour() {
        return endHour;
    }

    public void setEndHour(int endHour) {
        this.endHour = endHour;
    }

    public int getDetectionTime() {
        return detectionTime;
    }

    public void setDetectionTime(int detectionTime) {
        this.detectionTime = detectionTime;
    }

    public int getRepeatCycle() {
        return repeatCycle;
    }

    public void setRepeatCycle(int repeatCycle) {
        this.repeatCycle = repeatCycle;
    }

    @Override
    public String toString() {
        return "SedentaryAlarmBean{" +
                "isOpen=" + isOpen +
                ", startHour=" + startHour +
                ", endHour=" + endHour +
                ", detectionTime=" + detectionTime +
                ", repeatCycle=" + repeatCycle +
                '}';
    }
}
